package cn.stylefeng.guns.modular.system.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 两地销售审核表
 * </p>
 *
 * @author 小飞
 * @since 2019-07-11
 */
@TableName("both_sale_commit_check")
public class BothSaleCommitCheck implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 绑定id
     */
    @TableField("both_sale_commit_id")
    private Long bothSaleCommitId;

    /**
     * 审核人id
     */
    @TableField("user_id")
    private Long userId;

    /**
     * 审核状态 1，通过 2不通过
     */
    @TableField("check_code")
    private Integer checkCode;

    /**
     * 1.待审核 2.审核通过，3.审核失败，4.退回
     */
    @TableField("status")
    private Integer status;

    public Long getDealerDeptId() {
        return dealerDeptId;
    }

    public void setDealerDeptId(Long dealerDeptId) {
        this.dealerDeptId = dealerDeptId;
    }

    /**
     * 审核时间
     */
    @TableField("time")
    private Date time;

    @TableField("dealer_dept_id")
    private  Long dealerDeptId;



    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getBothSaleCommitId() {
        return bothSaleCommitId;
    }

    public void setBothSaleCommitId(Long bothSaleCommitId) {
        this.bothSaleCommitId = bothSaleCommitId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Integer getCheckCode() {
        return checkCode;
    }

    public void setCheckCode(Integer checkCode) {
        this.checkCode = checkCode;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    @Override
    public String toString() {
        return "BothSaleCommitCheck{" +
        "id=" + id +
        ", bothSaleCommitId=" + bothSaleCommitId +
        ", userId=" + userId +
        ", checkCode=" + checkCode +
        ", status=" + status +
        ", time=" + time +
        "}";
    }
}
